<div class="widget-box dataTables_wrapper">
<?php 
$this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'category-grid',
	'itemsCssClass'=>'table table-bordered table-striped table-hover',
	'summaryCssClass'=>'summary widget-title',
	'dataProvider'=>$model->search(),
	'cssFile'=> Yii::app()->request->baseUrl.WWWROOT_BACKEND."/css/gridview/styles.css",
	'filter'=>$model,
	'columns'=>array(
		'name',
        'alias',
		array(
			'class'=>'CButtonColumn', 
			'header'=>'Actions',
		),
	),
	'htmlOptions'=>array('class'=>'widget-content nopadding grid-view'),
)); 
?>
	<div class="fg-toolbar widget-content">
		<?php echo CHtml::link('Create a new Category', array('/products/manage_product_categories/create'), array('class'=>'btn')); ?>
	</div>
</div>